import './styles/main.css';
import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
// 暗黑模式
import 'element-plus/theme-chalk/dark/css-vars.css'
import vue3SeamlessScroll from 'vue3-seamless-scroll';

// 汉化
import locale from "element-plus/es/locale/lang/zh-cn";

const app = createApp(App);

app.use(ElementPlus, {locale});
app.use(router);
app.use(store);
app.use(vue3SeamlessScroll, { name: 'seamless-scroll' });


app.mount('#app');
